Skip to content

Support arbitrary Decimal precision and scale in Hibernate and Liquibase - #274

Merged
KirillKurdyukov merged 8 commits into
mainfrom
codex/decimal-precision-scale
Nov 9, 2026
Merged

KirillKurdyukov merged 8 commits into
mainfrom
codex/decimal-precision-scale

Conversation

@KirillKurdyukov

@KirillKurdyukov KirillKurdyukov commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Pull request type

  • Bugfix

KirillKurdyukov and others added 5 commits November 5, 2026 14:38
The YDB JDBC driver reports zero precision and scale in ResultSetMetaData,
so the resolveSqlTypeDescriptor override never matched and native queries
already used the registered DECIMAL JDBC type. Drop the dead override,
fix the changelog entry, and rename the native query test to match what
it checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01My2Lh7oZ87zvCJyyomZG4G
A single Decimal parameter now means precision with scale 0, as in the
SQL standard and the Hibernate dialect, instead of being rejected.
Cover it in the Decimal migration test and rewrite the 1.7.2 and 1.1.3
changelog entries in shorter form.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01My2Lh7oZ87zvCJyyomZG4G
@KirillKurdyukov
KirillKurdyukov merged commit 587d469 into main Nov 9, 2026
11 checks passed
@KirillKurdyukov
KirillKurdyukov deleted the codex/decimal-precision-scale branch November 9, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants